CKEDITOR.editorConfig = function (config) {
    config.width = 1000;
    config.height = 200;
    config.isFileUploadSupported = true;
    config.language = 'zh-cn';
    // config.extraPlugins = 'kityformula';
    // config.extraPlugins = 'JMEditor';
    config.extraPlugins = 'ckeditor_wiris';
    config.toolbarGroups = [
        { name: 'document', groups: [ 'mode', 'document', 'doctools' ] },
        { name: 'clipboard', groups: [ 'clipboard', 'undo' ] },
        { name: 'editing', groups: [ 'find', 'selection', 'spellchecker', 'editing' ] },
        { name: 'forms', groups: [ 'forms' ] },
        { name: 'basicstyles', groups: [ 'basicstyles', 'cleanup' ] },
        { name: 'insert', groups: [ 'insert' ] },
        { name: 'styles', groups: [ 'styles' ] },
        { name: 'paragraph', groups: [ 'list', 'indent', 'blocks', 'align', 'bidi', 'paragraph' ] },
        { name: 'links', groups: [ 'links' ] },
        { name: 'colors', groups: [ 'colors' ] },
        { name: 'tools', groups: [ 'tools' ] },
        { name: 'others', groups: [ 'others' ] },
        { name: 'about', groups: [ 'about' ] },
        { name: 'ckeditor_wiris', groups: [ 'ckeditor_wiris' ] },
        // { name: 'JMEditor', groups: [ 'JMEditor' ] },
        // { name: 'kityformula', groups: [ 'kityformula' ] },
    ];
    config.removeButtons = 'Save,Templates,NewPage,ExportPdf,Preview,Print,Find,Replace,SelectAll,Scayt,Form,Checkbox,Radio,TextField,Textarea,Select,Button,ImageButton,HiddenField,CopyFormatting,RemoveFormat,Strike,Underline,Italic,NumberedList,BulletedList,Outdent,Indent,CreateDiv,Blockquote,JustifyLeft,JustifyCenter,JustifyRight,JustifyBlock,Language,BidiRtl,BidiLtr,Link,Unlink,Anchor,Table,Smiley,PageBreak,Iframe,TextColor,BGColor,Maximize,ShowBlocks,About';
};
